package ihm.enfant;
import java.awt.Component;
import javax.swing.GroupLayout;
import javax.swing.JButton;
import javax.swing.JCheckBox;
import javax.swing.JComponent;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JRadioButton;
import javax.swing.JTextArea;
import javax.swing.JTextField;
import javax.swing.LayoutStyle;
import javax.swing.SwingConstants;

import javax.swing.WindowConstants;
import org.jdesktop.application.Application;
import javax.swing.SwingUtilities;


/**
* This code was edited or generated using CloudGarden's Jigloo
* SWT/Swing GUI Builder, which is free for non-commercial
* use. If Jigloo is being used commercially (ie, by a corporation,
* company or business for any purpose whatever) then you
* should purchase a license for each developer using Jigloo.
* Please visit www.cloudgarden.com for details.
* Use of Jigloo implies acceptance of these licensing terms.
* A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR
* THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED
* LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE.
*/
public class EnfantJFrame extends javax.swing.JFrame {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private JPanel jPanelButtons;
	private JButton jButtonAdd;
	private JLabel jLabelGestionEnfants;
	private JTextField jTextFieldCompteur;
	private JLabel jLabelCode;
	private JCheckBox jCheckBoxD;
	private JCheckBox jCheckBoxStatut;
	private JLabel jLabelDateSortie;
	private JTextField jTextFieldDateNaissance;
	private JLabel jLabelPresence;
	private JTextField jTextFieldMailTel;
	private JLabel jLabelMailTel;
	private JTextField jTextFieldNomPrenom;
	private JLabel jLabelNomPrenom;
	private JLabel jLabelContact;
	private JTextArea jTextAreaRemarques;
	private JLabel jLabelRemarques;
	private JRadioButton jRadioButtonDeux;
	private JRadioButton jRadioButtonAM;
	private JRadioButton jRadioButtonM;
	private JLabel jLabelDateNaissance;
	private JTextField jTextFieldDateSortie;
	private JTextField jTextFieldDateEntree;
	private JLabel jLabelDateEntree;
	private JTextField jTextFieldPrenom;
	private JLabel jLabelPrenom;
	private JTextField jTextFieldNom;
	private JLabel jLabelNom;
	private JLabel jLabelStatut;
	private JButton jButtonCancel;
	private JButton jButtonExecute;
	private JButton jButtonModify;
	private JButton jButtonGenerate;

	/**
	* Auto-generated main method to display this JFrame
	*/
	public static void main(String[] args) {
		SwingUtilities.invokeLater(new Runnable() {
			public void run() {
				EnfantJFrame inst = new EnfantJFrame();
				inst.setLocationRelativeTo(null);
				inst.setVisible(true);
			}
		});
	}
	
	public EnfantJFrame() {
		super();
		initGUI();
	}
	
	private void initGUI() {
		try {
			GroupLayout thisLayout = new GroupLayout((JComponent)getContentPane());
			getContentPane().setLayout(thisLayout);
			setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
			{
				jPanelButtons = new JPanel();
				{
					jButtonAdd = new JButton();
					jPanelButtons.add(jButtonAdd);
					jButtonAdd.setName("jButtonAdd");
					jButtonAdd.setPreferredSize(new java.awt.Dimension(115, 49));
				}
				{
					jButtonGenerate = new JButton();
					jPanelButtons.add(jButtonGenerate);
					jButtonGenerate.setName("jButtonGenerate");
					jButtonGenerate.setPreferredSize(new java.awt.Dimension(115, 51));
				}
				{
					jButtonExecute = new JButton();
					jPanelButtons.add(jButtonExecute);
					jButtonExecute.setName("jButtonExecute");
					jButtonExecute.setPreferredSize(new java.awt.Dimension(115, 51));
				}
				{
					jButtonModify = new JButton();
					jPanelButtons.add(jButtonModify);
					jButtonModify.setName("jButtonModify");
					jButtonModify.setPreferredSize(new java.awt.Dimension(115, 42));
				}
				{
					jButtonCancel = new JButton();
					jPanelButtons.add(jButtonCancel);
					jButtonCancel.setName("jButtonCancel");
					jButtonCancel.setPreferredSize(new java.awt.Dimension(115, 53));
				}
			}
			{
				jLabelNom = new JLabel();
				jLabelNom.setName("jLabelNom");
			}
			{
				jTextFieldNom = new JTextField();
			}
			{
				jLabelPrenom = new JLabel();
				jLabelPrenom.setName("jLabelPrenom");
			}
			{
				jTextFieldPrenom = new JTextField();
			}
			{
				jLabelDateEntree = new JLabel();
				jLabelDateEntree.setName("jLabelDateEntree");
			}
			{
				jTextFieldDateEntree = new JTextField();
			}
			{
				jLabelDateSortie = new JLabel();
				jLabelDateSortie.setName("jLabelDateSortie");
			}
			{
				jTextFieldDateSortie = new JTextField();
			}
			{
				jLabelGestionEnfants = new JLabel();
				jLabelGestionEnfants.setName("jLabelGestionEnfants");
			}
			{
				jLabelPresence = new JLabel();
				jLabelPresence.setName("jLabelPresence");
			}
			{
				jRadioButtonM = new JRadioButton();
				jRadioButtonM.setName("jRadioButtonM");
			}
			{
				jRadioButtonAM = new JRadioButton();
				jRadioButtonAM.setName("jRadioButtonAM");
			}
			{
				jRadioButtonDeux = new JRadioButton();
				jRadioButtonDeux.setName("jRadioButtonDeux");
			}
			{
				jLabelRemarques = new JLabel();
				jLabelRemarques.setName("jLabelRemarques");
			}
			{
				jTextAreaRemarques = new JTextArea();
			}
			{
				jLabelContact = new JLabel();
				jLabelContact.setName("jLabelContact");
			}
			{
				jLabelNomPrenom = new JLabel();
				jLabelNomPrenom.setName("jLabelNomPrenom");
			}
			{
				jTextFieldNomPrenom = new JTextField();
			}
			{
				jLabelMailTel = new JLabel();
				jLabelMailTel.setName("jLabelMailTel");
			}
			{
				jTextFieldMailTel = new JTextField();
			}
			{
				jLabelCode = new JLabel();
				jLabelCode.setName("jLabelCode");
			}
			{
				jTextFieldCompteur = new JTextField();
				jTextFieldCompteur.setName("jTextFieldCompteur");
			}
			{
				jLabelDateNaissance = new JLabel();
				jLabelDateNaissance.setName("jLabelDateNaissance");
			}
			{
				jTextFieldDateNaissance = new JTextField();
			}
			{
				jLabelStatut = new JLabel();
				jLabelStatut.setName("jLabelStatut");
			}
			{
				jCheckBoxStatut = new JCheckBox();
				jCheckBoxStatut.setName("jCheckBoxStatut");
			}
			{
				jCheckBoxD = new JCheckBox();
				jCheckBoxD.setName("jCheckBoxD");
			}
			thisLayout.setVerticalGroup(thisLayout.createSequentialGroup()
				.addContainerGap()
				.addGroup(thisLayout.createParallelGroup()
				    .addComponent(jLabelGestionEnfants, GroupLayout.Alignment.LEADING, GroupLayout.PREFERRED_SIZE, 71, GroupLayout.PREFERRED_SIZE)
				    .addGroup(thisLayout.createSequentialGroup()
				        .addGap(7)
				        .addGroup(thisLayout.createParallelGroup(GroupLayout.Alignment.BASELINE)
				            .addComponent(jLabelStatut, GroupLayout.Alignment.BASELINE, GroupLayout.PREFERRED_SIZE, 23, GroupLayout.PREFERRED_SIZE)
				            .addComponent(jLabelCode, GroupLayout.Alignment.BASELINE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE)
				            .addComponent(jCheckBoxStatut, GroupLayout.Alignment.BASELINE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE)
				            .addComponent(jCheckBoxD, GroupLayout.Alignment.BASELINE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE)
				            .addComponent(jTextFieldCompteur, GroupLayout.Alignment.BASELINE, GroupLayout.PREFERRED_SIZE, 18, GroupLayout.PREFERRED_SIZE))
				        .addPreferredGap(LayoutStyle.ComponentPlacement.UNRELATED)
				        .addGroup(thisLayout.createParallelGroup(GroupLayout.Alignment.BASELINE)
				            .addComponent(jTextFieldNom, GroupLayout.Alignment.BASELINE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE)
				            .addComponent(jLabelNom, GroupLayout.Alignment.BASELINE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE))
				        .addGap(8)))
				.addGroup(thisLayout.createParallelGroup()
				    .addGroup(GroupLayout.Alignment.LEADING, thisLayout.createSequentialGroup()
				        .addGroup(thisLayout.createParallelGroup(GroupLayout.Alignment.BASELINE)
				            .addComponent(jTextFieldPrenom, GroupLayout.Alignment.BASELINE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE)
				            .addComponent(jLabelPrenom, GroupLayout.Alignment.BASELINE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE))
				        .addGap(20)
				        .addGroup(thisLayout.createParallelGroup(GroupLayout.Alignment.BASELINE)
				            .addComponent(jTextFieldDateEntree, GroupLayout.Alignment.BASELINE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE)
				            .addComponent(jLabelDateEntree, GroupLayout.Alignment.BASELINE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE))
				        .addGap(23)
				        .addGroup(thisLayout.createParallelGroup(GroupLayout.Alignment.BASELINE)
				            .addComponent(jTextFieldDateSortie, GroupLayout.Alignment.BASELINE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE)
				            .addComponent(jLabelDateSortie, GroupLayout.Alignment.BASELINE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE))
				        .addGap(25)
				        .addGroup(thisLayout.createParallelGroup(GroupLayout.Alignment.BASELINE)
				            .addComponent(jTextFieldDateNaissance, GroupLayout.Alignment.BASELINE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE)
				            .addComponent(jLabelDateNaissance, GroupLayout.Alignment.BASELINE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE))
				        .addGap(15)
				        .addGroup(thisLayout.createParallelGroup(GroupLayout.Alignment.BASELINE)
				            .addComponent(jRadioButtonM, GroupLayout.Alignment.BASELINE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE)
				            .addComponent(jLabelPresence, GroupLayout.Alignment.BASELINE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE)
				            .addComponent(jRadioButtonAM, GroupLayout.Alignment.BASELINE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE)
				            .addComponent(jRadioButtonDeux, GroupLayout.Alignment.BASELINE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE))
				        .addGap(17)
				        .addGroup(thisLayout.createParallelGroup()
				            .addGroup(GroupLayout.Alignment.LEADING, thisLayout.createSequentialGroup()
				                .addComponent(jLabelRemarques, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE)
				                .addGap(39))
				            .addComponent(jTextAreaRemarques, GroupLayout.Alignment.LEADING, GroupLayout.PREFERRED_SIZE, 55, GroupLayout.PREFERRED_SIZE))
				        .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED, 0, Short.MAX_VALUE)
				        .addComponent(jLabelContact, GroupLayout.PREFERRED_SIZE, 36, GroupLayout.PREFERRED_SIZE)
				        .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED))
				    .addGroup(GroupLayout.Alignment.LEADING, thisLayout.createSequentialGroup()
				        .addGap(12)
				        .addComponent(jPanelButtons, GroupLayout.PREFERRED_SIZE, 292, GroupLayout.PREFERRED_SIZE)))
				.addGroup(thisLayout.createParallelGroup(GroupLayout.Alignment.BASELINE)
				    .addComponent(jTextFieldNomPrenom, GroupLayout.Alignment.BASELINE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE)
				    .addComponent(jLabelNomPrenom, GroupLayout.Alignment.BASELINE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE))
				.addGap(0, 17, GroupLayout.PREFERRED_SIZE)
				.addGroup(thisLayout.createParallelGroup(GroupLayout.Alignment.BASELINE)
				    .addComponent(jTextFieldMailTel, GroupLayout.Alignment.BASELINE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE)
				    .addComponent(jLabelMailTel, GroupLayout.Alignment.BASELINE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE))
				.addContainerGap(31, 31));
			thisLayout.setHorizontalGroup(thisLayout.createSequentialGroup()
				.addContainerGap()
				.addGroup(thisLayout.createParallelGroup()
				    .addGroup(thisLayout.createSequentialGroup()
				        .addGroup(thisLayout.createParallelGroup()
				            .addGroup(GroupLayout.Alignment.LEADING, thisLayout.createSequentialGroup()
				                .addGroup(thisLayout.createParallelGroup()
				                    .addComponent(jLabelMailTel, GroupLayout.Alignment.LEADING, GroupLayout.PREFERRED_SIZE, 76, GroupLayout.PREFERRED_SIZE)
				                    .addGroup(GroupLayout.Alignment.LEADING, thisLayout.createSequentialGroup()
				                        .addComponent(jLabelPresence, GroupLayout.PREFERRED_SIZE, 64, GroupLayout.PREFERRED_SIZE)
				                        .addGap(12))
				                    .addGroup(GroupLayout.Alignment.LEADING, thisLayout.createSequentialGroup()
				                        .addComponent(jLabelPrenom, GroupLayout.PREFERRED_SIZE, 64, GroupLayout.PREFERRED_SIZE)
				                        .addGap(12))
				                    .addGroup(GroupLayout.Alignment.LEADING, thisLayout.createSequentialGroup()
				                        .addComponent(jLabelNom, GroupLayout.PREFERRED_SIZE, 64, GroupLayout.PREFERRED_SIZE)
				                        .addGap(12))
				                    .addComponent(jLabelStatut, GroupLayout.Alignment.LEADING, GroupLayout.PREFERRED_SIZE, 76, GroupLayout.PREFERRED_SIZE))
				                .addComponent(jCheckBoxStatut, GroupLayout.PREFERRED_SIZE, 42, GroupLayout.PREFERRED_SIZE))
				            .addGroup(GroupLayout.Alignment.LEADING, thisLayout.createSequentialGroup()
				                .addComponent(jLabelNomPrenom, GroupLayout.PREFERRED_SIZE, 93, GroupLayout.PREFERRED_SIZE)
				                .addGap(25))
				            .addGroup(GroupLayout.Alignment.LEADING, thisLayout.createSequentialGroup()
				                .addComponent(jLabelRemarques, GroupLayout.PREFERRED_SIZE, 88, GroupLayout.PREFERRED_SIZE)
				                .addGap(30))
				            .addGroup(GroupLayout.Alignment.LEADING, thisLayout.createSequentialGroup()
				                .addComponent(jLabelDateNaissance, GroupLayout.PREFERRED_SIZE, 105, GroupLayout.PREFERRED_SIZE)
				                .addGap(13))
				            .addGroup(GroupLayout.Alignment.LEADING, thisLayout.createSequentialGroup()
				                .addComponent(jLabelDateSortie, GroupLayout.PREFERRED_SIZE, 111, GroupLayout.PREFERRED_SIZE)
				                .addGap(7))
				            .addGroup(GroupLayout.Alignment.LEADING, thisLayout.createSequentialGroup()
				                .addComponent(jLabelDateEntree, GroupLayout.PREFERRED_SIZE, 88, GroupLayout.PREFERRED_SIZE)
				                .addGap(30)))
				        .addGap(8)
				        .addGroup(thisLayout.createParallelGroup()
				            .addGroup(GroupLayout.Alignment.LEADING, thisLayout.createSequentialGroup()
				                .addComponent(jTextFieldMailTel, GroupLayout.PREFERRED_SIZE, 312, GroupLayout.PREFERRED_SIZE)
				                .addGap(41))
				            .addGroup(GroupLayout.Alignment.LEADING, thisLayout.createSequentialGroup()
				                .addComponent(jTextFieldNomPrenom, GroupLayout.PREFERRED_SIZE, 312, GroupLayout.PREFERRED_SIZE)
				                .addGap(41))
				            .addComponent(jTextAreaRemarques, GroupLayout.Alignment.LEADING, GroupLayout.PREFERRED_SIZE, 353, GroupLayout.PREFERRED_SIZE)
				            .addGroup(GroupLayout.Alignment.LEADING, thisLayout.createSequentialGroup()
				                .addGroup(thisLayout.createParallelGroup()
				                    .addComponent(jTextFieldDateSortie, GroupLayout.Alignment.LEADING, GroupLayout.PREFERRED_SIZE, 211, GroupLayout.PREFERRED_SIZE)
				                    .addGroup(thisLayout.createSequentialGroup()
				                        .addGroup(thisLayout.createParallelGroup()
				                            .addComponent(jRadioButtonM, GroupLayout.Alignment.LEADING, GroupLayout.PREFERRED_SIZE, 80, GroupLayout.PREFERRED_SIZE)
				                            .addComponent(jTextFieldDateNaissance, GroupLayout.Alignment.LEADING, GroupLayout.PREFERRED_SIZE, 80, GroupLayout.PREFERRED_SIZE)
				                            .addGroup(GroupLayout.Alignment.LEADING, thisLayout.createSequentialGroup()
				                                .addComponent(jCheckBoxD, GroupLayout.PREFERRED_SIZE, 59, GroupLayout.PREFERRED_SIZE)
				                                .addGap(21)))
				                        .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)
				                        .addGroup(thisLayout.createParallelGroup()
				                            .addGroup(GroupLayout.Alignment.LEADING, thisLayout.createSequentialGroup()
				                                .addComponent(jRadioButtonAM, GroupLayout.PREFERRED_SIZE, 79, GroupLayout.PREFERRED_SIZE)
				                                .addGap(14))
				                            .addGroup(GroupLayout.Alignment.LEADING, thisLayout.createSequentialGroup()
				                                .addPreferredGap(jRadioButtonAM, jLabelCode, LayoutStyle.ComponentPlacement.INDENT)
				                                .addComponent(jLabelCode, GroupLayout.PREFERRED_SIZE, 51, GroupLayout.PREFERRED_SIZE)
				                                .addGap(7)
				                                .addComponent(jTextFieldCompteur, GroupLayout.PREFERRED_SIZE, 23, GroupLayout.PREFERRED_SIZE)))
				                        .addGap(32))
				                    .addComponent(jTextFieldDateEntree, GroupLayout.Alignment.LEADING, GroupLayout.PREFERRED_SIZE, 211, GroupLayout.PREFERRED_SIZE)
				                    .addComponent(jTextFieldPrenom, GroupLayout.Alignment.LEADING, GroupLayout.PREFERRED_SIZE, 211, GroupLayout.PREFERRED_SIZE)
				                    .addComponent(jTextFieldNom, GroupLayout.Alignment.LEADING, GroupLayout.PREFERRED_SIZE, 211, GroupLayout.PREFERRED_SIZE))
				                .addGap(27)
				                .addComponent(jRadioButtonDeux, GroupLayout.PREFERRED_SIZE, 87, GroupLayout.PREFERRED_SIZE)
				                .addGap(28))))
				    .addGroup(GroupLayout.Alignment.LEADING, thisLayout.createSequentialGroup()
				        .addComponent(jLabelContact, GroupLayout.PREFERRED_SIZE, 180, GroupLayout.PREFERRED_SIZE)
				        .addGap(299)))
				.addGap(157)
				.addGroup(thisLayout.createParallelGroup()
				    .addGroup(thisLayout.createSequentialGroup()
				        .addComponent(jLabelGestionEnfants, GroupLayout.PREFERRED_SIZE, 143, GroupLayout.PREFERRED_SIZE))
				    .addGroup(GroupLayout.Alignment.LEADING, thisLayout.createSequentialGroup()
				        .addGap(24)
				        .addComponent(jPanelButtons, GroupLayout.PREFERRED_SIZE, 119, GroupLayout.PREFERRED_SIZE)))
				.addContainerGap(35, Short.MAX_VALUE));
			thisLayout.linkSize(SwingConstants.VERTICAL, new Component[] {jLabelNom, jLabelPrenom, jLabelDateEntree, jLabelDateSortie});
			thisLayout.linkSize(SwingConstants.HORIZONTAL, new Component[] {jTextFieldNom, jTextFieldPrenom, jTextFieldDateEntree, jTextFieldDateSortie});
			pack();
			Application.getInstance().getContext().getResourceMap(getClass()).injectComponents(getContentPane());
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
	
	public JTextField getJTextFieldDateNaissance() {
		return jTextFieldDateNaissance;
	}

}
